#include <stdio.h>

int compareMax(int a, int b)
{
  return (a > b) ? a : b;
}

int main()
{
  int num1, num2;
  printf("Enter first number: ");
  scanf("%d", &num1);
  printf("Enter second number: ");
  scanf("%d", &num2);
  int max = compareMax(num1, num2);
  printf("Max number is: %d\n", max);
  return 0;
}